﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Boss
{
     public  class Program
    {
         public static void Main(string[] args)
        {
            Console.WriteLine("Boss:我的儿砸是张三");
            for(int i=0;i<10;i++){
                Console.WriteLine("财产转移中~~~");
            }
            OkHeritage ok = new OkHeritage();
            
            Console.WriteLine("张三原来有这么多钱:{0}$",OkHeritage.bossHeritage);
        }

    }
    internal class Heritage
    {

        public static long bossHeritage = 1000000000000000000;//遗产公布
    }
    class OkHeritage : Heritage
    {
        readonly long zhangsanHeritage = bossHeritage;//遗产转移只读
    }
        
    }